package com.ruoyi.erp.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 商品扩展视图对象 base_inventory_detail
 *
 * @author chenyun
 * @date 2022-03-13
 */
@Data
@ApiModel("商品扩展视图对象")
@ExcelIgnoreUnannotated
public class InventoryDetailVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;
    /**
     * 商品编号
     */
	@ExcelProperty(value = "商品编号")
	@ApiModelProperty("商品编号")
	private Long invId;
    /**
     * 条码
     */
	@ExcelProperty(value = "条码")
	@ApiModelProperty("条码")
	private String barCode;
    /**
     * 单位
     */
	@ExcelProperty(value = "单位")
	@ApiModelProperty("单位")
	private String unitCode;
    /**
     * 多属性
     */
	@ExcelProperty(value = "多属性")
	@ApiModelProperty("多属性")
	private String sku;
    /**
     * 采购价
     */
	@ExcelProperty(value = "采购价")
	@ApiModelProperty("采购价")
	private BigDecimal phPrice;
    /**
     * 销售价
     */
	@ExcelProperty(value = "销售价")
	@ApiModelProperty("销售价")
	private BigDecimal saPrice;
    /**
     * 零售价
     */
	@ExcelProperty(value = "零售价")
	@ApiModelProperty("零售价")
	private BigDecimal retailPrice;
    /**
     * 标准成本
     */
	@ExcelProperty(value = "标准成本")
	@ApiModelProperty("标准成本")
	private BigDecimal normalCost;
    /**
     * 最新成本
     */
	@ExcelProperty(value = "最新成本")
	@ApiModelProperty("最新成本")
	private BigDecimal newCost;
    /**
     * 采购价上限
     */
	@ExcelProperty(value = "采购价上限")
	@ApiModelProperty("采购价上限")
	private BigDecimal phLimitPrice;
    /**
     * 销售价下限
     */
	@ExcelProperty(value = "销售价下限")
	@ApiModelProperty("销售价下限")
	private BigDecimal saLimitPrice;
    /**
     * 安全库存数
     */
	@ExcelProperty(value = "安全库存数")
	@ApiModelProperty("安全库存数")
	private Long safeNum;
    /**
     * 库存上限
     */
	@ExcelProperty(value = "库存上限")
	@ApiModelProperty("库存上限")
	private Long maxNum;
    /**
     * 库存下限
     */
	@ExcelProperty(value = "库存下限")
	@ApiModelProperty("库存下限")
	private Long minNum;
    /**
     * 机构id
     */
	@ExcelProperty(value = "机构id")
	@ApiModelProperty("机构id")
	private Long orgId;
    /**
     * 状态（0正常 1停用）
     */
	@ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
	@ApiModelProperty("状态（0正常 1停用）")
	private String status;
    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	@ApiModelProperty("备注")
	private String remark;

}
